#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main()
{
	int arr[10] = { 1,5,7,34,56,87,95,12,32,15 };
	int i = 0;
	for (i = 0; i < 10; i++)
	{
		int max = arr[0];
		if (arr[0] < arr[i + 1])
		{
			int t = arr[0];
			arr[0] = arr[i + 1];
			arr[i + 1] = t;
		}
	}
	printf("max = %d", arr[0]);
	return 0;
}